import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import 'vant/lib/index.css'
import '@/utils/vant'
import '@/style/base.less'
import 'amfe-flexible'

// 把vant中所有的组件都导入了
import moment from 'moment'
moment.locale('zh-cn')
Vue.config.productionTip = false
Vue.filter('fromNow', time => moment(time).fromNow())
new Vue({
  router,
  store,
  render: (h) => h(App)
}).$mount('#app')
